﻿
using Bot.Domain.Enum;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Bot.Domain.SiteBoughtPackages
{
    public class SiteBoughtPackagesDto : BaseDto
    {
        public SiteBoughtPackagesDto()
        {
        }
        
        [Required]
        public int? SiteId { get; set; }   
        
        [Required]
        //[MaxLength(24)]
        [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
        public EnumBotPackageType PackageType { get; set; }   

        [Required]
        public int? PackageId { get; set; }   
        
        [Required]
        public DateTime? BoughtTime { get; set; }   
        
        [Required]
        public decimal? Price { get; set; }   
        
        [Required]
        public int? ConversationsPerMonth { get; set; }   
    }
}
